package org.git.movie.service.impl;

import org.git.movie.entity.FfPlayer;
import org.git.movie.mapper.FfPlayerMapper;
import org.git.movie.service.FfPlayerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class FfPlayerServiceImpl implements FfPlayerService {

    @Resource
    private FfPlayerMapper ffPlayerMapper;

    @Override
    public FfPlayer findById(Integer id) {
        return ffPlayerMapper.findById(id);
    }

    @Override
    public FfPlayer findByEnName(String enName) {
        return ffPlayerMapper.findByEnName(enName);
    }

    @Override
    public List<FfPlayer> findList(FfPlayer ffPlayer) {
        return ffPlayerMapper.findList(ffPlayer);
    }
}
